package com.hxzy.shop.dto.commodity.resp;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author by zhy
 * @date 2021-07-13 13:49
 * @Version 1.0
 */
@Data
@ApiModel("活动药品")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ActivityDrugResp implements Serializable {
    @ApiModelProperty("药品id")
    private Long drugId;

    @ApiModelProperty("药品图片")
    private String drugImageUrl;

    @ApiModelProperty(value = "规格")
    private String specifications;

    @ApiModelProperty(value = "药品名称")
    private String drugName;

    @ApiModelProperty(value = "药品单位")
    private String company;
    @ApiModelProperty(value = "是否是处方药")
    private Boolean prescriptionDrug;

    @ApiModelProperty("价格")
    private BigDecimal discountPrice;

    @ApiModelProperty("折扣价")
    private BigDecimal seckillPrice;

    @ApiModelProperty("门槛金额")
    private BigDecimal limitedAmount;

    @ApiModelProperty("优惠价格")
    private BigDecimal preferentialAmount;

    @ApiModelProperty("活动类型 0无活动 1限时折扣 2秒杀 3组合套餐 4满减 5第X件X折 6满赠")
    private Integer activityType;

    @ApiModelProperty("活动id")
    private String activityId;

    @ApiModelProperty("打包价格")
    private BigDecimal packPrice;

    @ApiModelProperty("满多少")
    private BigDecimal howManyPiecesAreGivenAway;

    @ApiModelProperty("赠送数")
    private Integer numberOfGifts;

    @ApiModelProperty("活动结束日期")
    private Date activityEndTime;

    @ApiModelProperty("佣金")
    private BigDecimal commission;
}
